package com.yxq.mdt.app.modules.personal.adapter;

import android.widget.ImageView;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yxq.mdt.app.R;
import com.yxq.mdt.app.glide.GlideHelper;
import com.yxq.mdt.app.modules.personal.bean.PublishBean;
import com.yxq.mdt.app.modules.socialcontact.bean.SocialStateContactBean;

import java.util.List;

public class DynamicImagesListAdapter extends BaseQuickAdapter<PublishBean.ListBean.FileListBean, BaseViewHolder> {
    public DynamicImagesListAdapter(int layoutResId, @Nullable List<PublishBean.ListBean.FileListBean> data) {
        super(layoutResId, data);
    }


    @Override
    protected void convert(BaseViewHolder helper, PublishBean.ListBean.FileListBean item) {
        ImageView avatar = helper.getView(R.id.panic_tv_count_img);
        GlideHelper.setLoadRoundImage(mContext, item.getFile(), R.color.gray, avatar);
    }
}
